package com.flower.domain.convert;

import com.flower.auth.infra.basic.entity.AuthPermission;
import com.flower.auth.infra.basic.entity.AuthUser;
import com.flower.domain.entity.AuthPermissionBO;
import com.flower.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-16 20:21
 */
@Mapper
public interface AuthPermissionBOConverter {

    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission convertBOToUser(AuthPermissionBO authPermissionBO);
}
